package com.serbulent.examples.rest.dao;

import java.util.List;

import com.serbulent.examples.rest.model.Author;

public class AuthorDAO extends GenericDAOWithJPA<Author,Integer> {
	
	public List<Author> getAuthors(){
		return findAll();
	}
	
	public Author getAuthorById(int id){
		return find(id);
	}

}
